package do

import "time"

type DemoOrder struct {
	Id        int64  `json:"id"`
	UserId    int64  `json:"userId"`
	BillMoney int64  `json:"billMoney"`
	OrderNo   string `json:"orderNo"`
	// OrderGoodsId int64     `json:"orderGoodsId"`
	State     int8      `json:"state"`
	IsDel     uint      `json:"is_del"`
	PaidAt    time.Time `json:"paidAt" gorm:"column:paid_at;default:\"1970-01-01 00:00:00\""`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt" gorm:"column:update_at;;default:\"CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP\""`
}
